﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Himp.Setl.EntityFrameworkCore;

public class SetlHttpApiHostMigrationsDbContext : AbpDbContext<SetlHttpApiHostMigrationsDbContext>
{
    public SetlHttpApiHostMigrationsDbContext(DbContextOptions<SetlHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureSetl();
    }
}
